package com.xxgc.eow.service;

import com.xxgc.eow.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 关注表 服务类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-29
 */
public interface IFollowService extends IService<Follow> {

    int insertFollow(Follow follow);


    Follow selectByFollow(Follow follow);

    int delFollow(Follow follow);

    List<Integer> selectByUserFollowId(int userFollowId);

    Integer getFollowCount(Integer userId);

    Integer getFansCount(Integer userId);

    List<Integer> selectByUserId(int userId);

    List<Follow> selectAll();
}
